<%- include ../public/page_header.html %>


<div class="table-responsive">
    <table class="table table-bordered">
        <thead>
        <tr class="th">
            <th>角色名称</th>
            <th>描述</th>
            <th>增加时间</th>                                             
           
            <th class="text-center">操作</th>
        </tr>
        </thead>
        <tbody>

        <%for(var i=0;i<list.length;i++){%>


                <tr>
                        <td><%=list[i].title%></td>
                        <td><%=list[i].description%></td>
                        <td><%=helper.formatTime(list[i].add_time)%></td>
                                            
                        <td class="text-center"><a href="/admin/role/auth?id=<%=list[i]._id%>">授权</a>　<a href="/admin/role/edit?id=<%=list[i]._id%>">修改</a>　<a href="/admin/delete?model=Role&id=<%=list[i]._id%>">删除</a></td>
                    </tr>
          

          <%}%>
        </tbody>
    </table>
</div>

</body>
</html>